lst = list(range(10, 50, 10))

# 修改1个值
lst[2] = 100
print(lst)

# 修改多个值
lst[1:3] = list(range(300, 700, 100))
print(lst)
